import {MainComponent} from "./application/main.component";
import {LoginComponent} from "./application/login/login.component";
import {NoticeComponent} from "./application/common/sidebar/notice/notice.component";
import {ProcedureComponent} from "./application/common/sidebar/procedure/procedure.component";
import {MaskComponent} from "./application/common/mask/mask.component";
import {LeaveComponent} from "./application/common/msgbox/leave/leave.component";
import {Definition} from "./support/annotation";


/**
 * 定义组件引用
 */
const AppDefinitions: Array<any> = [
  MainComponent,
  LoginComponent,
  NoticeComponent,
  ProcedureComponent
];
const ModelDefinitions: Array<any> = [
  LeaveComponent
];

const AppDefinitionRefs: any = Definition(AppDefinitions.concat(ModelDefinitions));
export {
  AppDefinitions,
  ModelDefinitions,
  AppDefinitionRefs
};
